package com.wzh.project.webservice.service;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

import com.wzh.project.webservice.service.base.BaseWebService;
/**
 * 暴露的service
 * @author wzh
 *
 */
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class WebServiceHello implements BaseWebService{

	@Override
	public String get(@WebParam(name = "name") String name) {
		System.out.println("hello,"+name);
		return "hello," + name;
	}
	
	public String test() {
		System.out.println("test,");
		return "hello,test";
	}
}
